package com.wenjie.springbootbugdetection.model;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Bug {
    private Integer bugId;

    private String level;

    private String description;

    private String descriptionTestManager;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date solveTime;

    private Integer statusId;

    private Integer typeId;

    private Integer submitterId;

    private Integer testManagerId;

    private Integer developmentId;

    private Integer modelId;

    public Integer getBugId() {
        return bugId;
    }

    public void setBugId(Integer bugId) {
        this.bugId = bugId;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDescriptionTestManager() {
        return descriptionTestManager;
    }

    public void setDescriptionTestManager(String descriptionTestManager) {
        this.descriptionTestManager = descriptionTestManager;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getSolveTime() {
        return solveTime;
    }

    public void setSolveTime(Date solveTime) {
        this.solveTime = solveTime;
    }

    public Integer getStatusId() {
        return statusId;
    }

    public void setStatusId(Integer statusId) {
        this.statusId = statusId;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getSubmitterId() {
        return submitterId;
    }

    public void setSubmitterId(Integer submitterId) {
        this.submitterId = submitterId;
    }

    public Integer getTestManagerId() {
        return testManagerId;
    }

    public void setTestManagerId(Integer testManagerId) {
        this.testManagerId = testManagerId;
    }

    public Integer getDevelopmentId() {
        return developmentId;
    }

    public void setDevelopmentId(Integer developmentId) {
        this.developmentId = developmentId;
    }

    public Integer getModelId() {
        return modelId;
    }

    public void setModelId(Integer modelId) {
        this.modelId = modelId;
    }
}